using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Generalization
{
    /// <summary>
    /// <para>Collapse Dual Lines To Centerline</para>
    /// <para>Determines the centerlines of features with dual lines.</para>
    /// <para>确定具有双线的要素的中心线。</para>
    /// </summary>    
    [DisplayName("Collapse Dual Lines To Centerline")]
    public class CollapseDualLinesToCenterline : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public CollapseDualLinesToCenterline()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_features">
        /// <para>Input Features</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_out_feature_class">
        /// <para>Output Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_maximum_width">
        /// <para>Maximum Width</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public CollapseDualLinesToCenterline(object _in_features, object _out_feature_class, string? _maximum_width)
        {
            this._in_features = _in_features;
            this._out_feature_class = _out_feature_class;
            this._maximum_width = _maximum_width;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Collapse Dual Lines To Centerline";

        public override string CallName => "management.CollapseDualLinesToCenterline";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_features, _out_feature_class, _maximum_width, _minimum_width];

        /// <summary>
        /// <para>Input Features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_features { get; set; }


        /// <summary>
        /// <para>Output Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_feature_class { get; set; }


        /// <summary>
        /// <para>Maximum Width</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Maximum Width")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public string? _maximum_width { get; set; }


        /// <summary>
        /// <para>Minimum Width</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Minimum Width")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public string? _minimum_width { get; set; } = null;


        public CollapseDualLinesToCenterline SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}